package net.lab1024.sa.admin.module.business.exam.domain.entity;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 课程分类 实体类
 *
 * @Author AKITA
 * @Date 2025-06-06 11:08:34
 * @Copyright AKITA
 */

@Data
@TableName("questions")
public class QuestionsEntity {

    @TableId(type = IdType.AUTO)
    @ExcelProperty("编码")
    private Long docEntry;
    @ExcelProperty("对象编码")
    private Long objId;
    @ExcelProperty("对象名称")
    private String objName;
    @ExcelProperty("单据状态")
    private String docStatus;
    @ExcelProperty("月期间")
    private Integer absId;
    @ExcelProperty("审核状态")
    private Boolean approved;
    @ExcelProperty("备注")
    private String remark;


    @Version
    @ExcelIgnore
    private Integer version;
    @ExcelIgnore
    private String attachment;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @ExcelProperty("试题类型")
    private Long quesTypeId;
    @ExcelProperty("试题编码")
    private String quesTypeName;
    @ExcelProperty("题干")
    private String question;
    @ExcelProperty("困难程度")
    private Integer difficulty;
    @TableField(exist = false)
    private List<QuestionsaEntity> lista;
    @ExcelProperty("选项")
    @TableField(exist = false)
    private String option;



}
